package com.wcgksoft.common.enu;

public enum GeneralConstant {

  SUCCESS("成功", 0), ERR("失败", 1);
  // 成员变量
  private String name;
  private int index;

  // 构造方法
  private GeneralConstant(String name, int index) {
    this.name = name;
    this.index = index;
  }

  //覆盖方法
  /*  @Override
    public String toString() {
      return this.index + "_" + this.name;
    }*/
}
